package com.ebt.m.fileExplore.model;

public class ItemFile {

	public static int TYPE_FOLDER = 0;
	public static int TYPE_FILE = 1;
	
	public int type;
	public String name;
	public String path;
	
	public ItemFile(int type, String name, String path){
		this.type = type;
		this.name = name;
		this.path = path;
	}
	
	public boolean isFile(){
		return type == TYPE_FILE;
	}
	
	public boolean isDirectory(){
		return type == TYPE_FOLDER;
	}
}
